<?php
$this->beginWidget('bootstrap.widgets.TbBox', array(
	'title' => array($this->projectName => array('project/schema'), '自定义词库'),
	'headerIcon' => 'icon-book',
));
// alert
$this->widget('bootstrap.widgets.TbAlert', array(
	'block' => true, // display a larger alert block?
	'fade' => true, // use transitions?
	'closeText' => '×', // close link text - if set to false, no close link is displayed
	'alerts' => array('success'), // success, info, warning, error or danger
));
// form
echo CHtml::beginForm();
?>
<div class="row-fluid">
	<?php echo CHtml::textArea('content', $content, array('class' => 'span12', 'rows' => '16')); ?>
</div>
<div class="row-fluid">
	<?php
	$this->widget('bootstrap.widgets.TbButton', array(
		'buttonType' => 'submit',
		'type' => 'primary',
		'label' => ' 保存 ',
	));
	?>
	<?php
	$this->widget('bootstrap.widgets.TbButton', array(
		'buttonType' => 'reset',
		'label' => ' 重置 ',
	));
	?>
</div>
<?php
echo CHtml::endForm();
$this->endWidget();
?>
